﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects.DataClasses;

namespace Models.DataAccess
{
    interface IRepository
    {
        T GetById<T>(Guid id);
        List<T> GetAll<T>();
        void Update<T>(T item);
        void Save<T>(T item);
        void Delete<T>(T item);
    }
}
